package com.yami.shop.mystery.common.api.param;

import com.yami.shop.bean.app.param.OrderParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * @author wxf
 * @date 2023/4/20 19:00
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Schema(description ="预售下单参数")
public class PresellOrderParam extends OrderParam {

    @NotNull(message = "预售活动Id不能为空")
    @Schema(description = "预售活动Id", required = true)
    private Long activityId;

}
